package com.bi.bitest.bao.entity.discoverrecommend;


import org.json.JSONException;
import org.json.JSONObject;

public class DiscoverRecommendItem {
	private String title;
	private boolean hasMore;

	public void parseJSON(JSONObject json) throws JSONException {
		if(json!=null){
			title=json.getString("title");
			hasMore=json.getBoolean("hasMore");
		}

	}

	public void setTitle(String title) {
		this.title = title;
	}

	public void setHasMore(boolean hasMore) {
		this.hasMore = hasMore;
	}

	public String getTitle() {
		return title;
	}

	public boolean isHasMore() {
		return hasMore;
	}

	@Override
	public String toString() {
		return "DiscoverRecommendItem{" +
				"title='" + title + '\'' +
				", hasMore=" + hasMore +
				'}';
	}
}